package edu.sctu.practice.class01.zhoumengxue.assign.assign03.assign03_3;

/**
 * Created by ASUS on 2015/10/22.
 */
public class Main {
    public static void main(String[] args) throws CloneNotSupportedException {

        Name name = new Name("zhou", "meng", "xue");

        CloneableCircle circle = new CloneableCircle(name);
        CloneableCircle cloneable = (CloneableCircle) circle.clone();

        if (cloneable == circle) {
            System.out.println("yes!");
        } else {
            System.out.println("oh no!");
        }

    }
}
